/**
 * Global CSS for Gracecode.com
 *
 * @author i.feelinglucky@gmail.com
 * @date   2008-11-25
 * @link   http://www.gracecode.com/
 */

body {
    font-size: 12px;
    font-family: arial,helvetica,clean,sans-serif;
    color: #111;
    background: #eaeaea url(../images/paint2.gif) no-repeat top center;
}

.body {
    margin: 50px auto 20px auto;
    opacity: .99;
    background: #fff;
    -webkit-border-radius:5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

ul, ol {
    list-style: none;
}

a:link, a:visited {
    color: #222;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/**
 * Layout
 */
.header {
    margin: 10px 10px 10px 10px;
    border-bottom: 2px solid #333;
    overflow: hidden;
}

/*
.header .logo, .header .nav {
float: left;
}
 */

.content {
    margin: 0px 0px 10px 10px;
    min-height:100px;
}

.sidebar {
    margin: 0px 10px 10px 0px;
    min-height:100px;
    background: red;
}

/**
 * 闪动条
 */
.lighter {
    height: 3px;
    background: #eaeaea;
    position: absolute;
    bottom: 12px;
    font-size: 0px;
    /*
    opacity: .75;
     */
}

/**
 * Logo
 */
.logo {
    width: 950px;
    margin: 0px auto;
    position: relative;
    z-index: 99;
}

.logo a:link, .logo a:visited {
    text-indent: -999em;
    display: block;
    background: url(../images/logo2.png) no-repeat top left;
    width: 200px;
    height: 78px;
    outline: none;
    color: #000;
    position: absolute;
    right: 10px;
    top: -40px;
}

.logo a:hover {
    text-decoration: none;
}

/**
 *
 */
.nav {
    overflow: hidden;
    zoom: 1;
}

.nav li {
    float: left;
    padding: 0px .6em;
    margin: 0px 2px 0px 0px;
}

.nav li a:link, .nav li a:visited {
    line-height: 2.5em;
    color: #555;
}

.nav li a:hover,
.nav li.current a:link, .nav li.current a:visited {
    color: #333;
    text-decoration: none;
}


/**
 * search
 */
/*
.search {
overflow: hidden;
position:absolute;
right: 10px;
top: 10px;
}

    .search .keywords {
    float: left;
    margin: 0px 5px;
}

    .search .keywords input {
    width: 150px;
}

    .search .submit {
    float: left;
    display: none;
}
 */

.archive {
    font-size: 14px;
    padding-left: 100px;
}

.archive a:link, .archive a:visited {
    background: whitesmoke;
    border-bottom: 1px dotted;
    padding: 1px;
}

.archive a:hover {
    background: #ffc;
    text-decoration: none;
}

.archive dt , .archive .title {
    font-size: 2em;
    font-weight: bold;
    line-height: 2em;
    font-family: "palatino linotype",palatino,georgia,"times new roman",times,serif;;
}

.archive dt a:link, .archive .title a:link,
.archive dt a:visited, .archive .title a:visited {
    border: none;
    background: none;
}

.archive dt a:hover, .archive .title a:hover {
    text-decoration: none;
}

.archive .date {
    text-indent: 0;
    margin-left: -100px;
    width: 90px;
    text-align: right;
    position: absolute;
    color: #999;
}

.archive .meta {
    text-align: right;
    padding: 1em none;
    color: #555;
    line-height: 2em;
}

.archive .meta a:link, .archive .meta a:visited {
    background: none;
    border: none;
    color: #555;
}

.archive .meta a:hover {
    text-decoration: underline;
}

.archive ul , .archive ol {
    margin: 1em 0px 1em .5em;
    list-style-position: inside;
}

.archive ul {
    list-style-type: disc;
}

.archive ol {
    list-style-type: decimal;
}

.archive pre , .archive code, .archive em, .archive .date {
    font-family: "Courier New", "Courier";
}

.archive pre {
    margin: .5em 0 .5em 2em;
}

.archive p {
    line-height: 18px;
    text-indent: 2em;
    margin-bottom: .5em;
    text-align: justify;
}

.archive h1, .archive h2 ,
.archive h3, .archive h4 ,
.archive h5, .archive h6 {
    margin: .5em 0px;
    font-weight: bold;
}

.archive h1, .archive h2 {
    font-size: 18px;
}


.archive h3, .archive h4 {
    font-size: 16px;
}

.archive h5, .archive h6 {
    font-size: 14px;
}

.footer {
    color: #999;
    font-size: 12px;
    margin: 1em 10px 10px 10px;
    padding-top: .5em;
}

.footer p {
    text-align: left;
    margin: .2em auto;
}

.footer p a:link, .footer p a:visited {
    margin: 0px .1em;
    color: #999;
}

.footer p a:hover {
    text-decoration: none;
    color: #333;
}

/* vim: set et sw=4 ts=4 sts=4 fdm=marker ff=unix fenc=utf8 */
